/**
 * BlankFragment.java
 * 
 * Purpose              :
 * 
 * Optional info        : 
 *
 * @author              : Van Hoang Phuong
 * 
 * @date                : Jun 5, 2012
 * 
 * @lastChangedRevision : 
 *
 * @lastChangedDate     :
 *
 */
package com.applink.sell_proof.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.actionbarsherlock.app.SherlockFragment;
import com.applink.sell_proof.R;

/**
 * @author Van Hoang Phuong
 * 
 */
public class BlankFragment extends SherlockFragment {
	private ViewGroup mLayout;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		if (mLayout == null) {
			mLayout = (ViewGroup) inflater.inflate(R.layout.blank_layout, null);
		} else {
			((ViewGroup) mLayout.getParent()).removeView(mLayout);
		}
		return mLayout;
	}
}
